package com.my.beans;

public class SClass {
	private String classno;
	private Teacher tea;
	private String classname;
	private Profession profession;
	private String detail;
	private String date;
	
	
	
	
	public SClass(String classno, Teacher tea, String classname, Profession profession,String detail,String date) {
		super();
		this.classno = classno;
		this.tea = tea;
		this.classname = classname;
		this.profession = profession;
		this.detail=detail;
		this.date=date;
	}


	@Override
	public String toString() {
		return "Course [classno=" + classno + ", tea=" + tea + ", classname=" + classname + ", profession=" + profession + 
				",detail=" + detail +", date=" + date + "]";
	}


	public String getClassno() {
		return classno;
	}


	public void setClassno(String classno) {
		this.classno = classno;
	}


	public Teacher getTea() {
		return tea;
	}


	public void setTea(Teacher tea) {
		this.tea = tea;
	}


	public String getClassname() {
		return classname;
	}


	public void setClassname(String classname) {
		this.classname = classname;
	}


	public Profession getProfession() {
		return profession;
	}


	public void setProfession(Profession profession) {
		this.profession = profession;
	}


	public String getDetail() {
		return detail;
	}


	public void setDetail(String detail) {
		this.detail = detail;
	}


	public SClass(){}
}
